package com.hl.service.serviceImpl;

import com.hl.domain.Teacherlevel;
import com.hl.mapper.ConsultreplyMapper;
import com.hl.mapper.TeacherlevelMapper;
import com.hl.service.TeacherlevelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author：王祖威
 * @Date ：2024/9/11 17:16
 */
@Service
public class TeacherlevelServiceImpl implements TeacherlevelService{
    @Autowired
    private TeacherlevelMapper  teacherlevelMapper;


    @Override
    public List<Teacherlevel> findAll() {
        return teacherlevelMapper.findAll();
    }

    @Override
    public List<Teacherlevel> findlike(String name) {
        return teacherlevelMapper.findlike(name);
    }

    @Override
    public int deleteByPrimaryKey(Long id) {
        return teacherlevelMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insertSelective(Teacherlevel record) {
        return teacherlevelMapper.insertSelective(record);
    }

    @Override
    public int updateByPrimaryKeySelective(Teacherlevel record) {
        return teacherlevelMapper.updateByPrimaryKeySelective(record);
    }
}
